/*
 * @Author: shiguo
 * @Date: 2022-04-25 17:57:29
 * @LastEditors: shiguo
 * @LastEditTime: 2022-05-05 14:45:07
 * @FilePath: /@aks/easyui/android/src/main/java/com/easyui/RNEasyuiPackage.java
 */

package com.easyui;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

import com.facebook.react.ReactPackage;
import com.facebook.react.bridge.NativeModule;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.uimanager.ViewManager;
import com.facebook.react.bridge.JavaScriptModule;
public class RNEasyuiPackage implements ReactPackage {
    @Override
    public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) {
        List<NativeModule> modules = new ArrayList<>();
        modules.add(new RNEasyuiModule(reactContext));
        modules.add(new UpgradeModule(reactContext));
        return modules;
    }

    // Deprecated from RN 0.47
    public List<Class<? extends JavaScriptModule>> createJSModules() {
      return Collections.emptyList();
    }

    @Override
    public List<ViewManager> createViewManagers(ReactApplicationContext reactContext) {
      return Collections.emptyList();
    }
}